Label objects with bounding boxes
An object detection model learns from rectangles drawn around the objects it has to find. In this guide you create the first tag of a dataset, draw a box around each object of an image and correct a box.
What you will learn
- How to open an image in the labeling editor
- How to create the first tag of a dataset
- How to draw, adjust and review bounding boxes
Before you start
You need an object detection dataset with images in it. See Create a dataset and Upload images to a dataset.
1. Open the image grid
Open the dataset and click «Labeling», at the top right. The grid shows every image of the dataset with its state: «Pending» until it is labeled or reviewed.

2. Open an image
Click an image. The editor opens with the image in the centre, the tools on the left and, on the right, the other images and the labels of this one.

3. Start the first tag
A tag is the name of what you mark: a kind of object or of defect. The editor warns that this dataset has none yet, and without a tag only the position and comment tools work. Click «Next».

4. Name the tag
Type the name of the tag. The square next to it sets its colour, and «Add another tag» adds one more row, to create several tags at once.

5. Create the tag
Click «Create». The drawing tools are now available. To add tags later, use «New tag type» in the «Labels» panel.
6. Choose the box tool
Click «Draw Bounding Box» in the toolbar on the left. The «Available tags» card appears next to it: the tag selected there is the one the next box gets.

7. Draw a box around an object
Press on one corner of the object, drag to the opposite corner and release. Fit the box to the object: as tight as possible without cutting it. The guide lines help you align the corners.

8. Mark every object
Repeat for every object of the image. A model learns from what is marked and also from what is not: an object left without a box teaches it that there is nothing there.

9. Review the boxes of the image
The «Labels» panel, on the right, lists every box of the image with its tag. Use the selector of a row to change the tag of that box and the bin to delete it. The icons above the list sort the boxes by class, hide them all or remove them all.

10. Go to the next image
There is no save button: every change is saved at once, as the note at the bottom shows. Go to the next image with the arrow at the top of the panel or with the D key, and back with A.

Next steps
- SAM Label Segmentation to mark an object with one click
- Manage Labeling Tags to rename, combine or delete tags
Recorded on Rosepetal release 1.8.15.